package com.yu.blog.service.impl;

import com.yu.blog.service.LoginService;
import com.yu.blog.utils.SMSUtil.SendSms;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Override
    public Boolean getCaptcha(String phoneNum,String randomCode) throws Exception {
        return SendSms.sendSMS(phoneNum,randomCode);
    }
}
